package com.clgc.eduservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <<<<<<< HEAD
 * <p>
 * 课程和班级表
 * </p>
 * <p>
 * =======
 * <<<<<<< HEAD:service/service_edu/src/main/java/com/clgc/eduservice/entity/CourseStudent.java
 * <p>
 * 课程和学生表
 * </p>
 * <p>
 * =======
 * >>>>>>> LSR:service/service_edu/src/main/java/com/clgc/eduservice/entity/CourseClass.java
 * >>>>>>> LSR
 *
 * @author testjava
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CourseClass对象", description = "课程和班级表")
public class CourseClass implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "课程id")
    private String courseId;

    @ApiModelProperty(value = "班级id")
    private String classId;

    public CourseClass(String courseId, String classId) {
        this.courseId = courseId;
        this.classId = classId;
    }

}
